package com.itheima.service;

import com.itheima.bean.User;

public interface UserService {
    /**
     * 保存用户|注册用户
     * @param user
     * @return
     */
    int save(User user);

    /**
     * 按照电话号码来查询用户
     * @param phone
     * @return
     */
    User findUser(String phone);
}
